package io.gitee.zhangbinhub.admin.log.entity

import com.mybatisflex.annotation.Id
import com.mybatisflex.annotation.Table
import io.gitee.zhangbinhub.acp.core.common.CalendarTools
import io.gitee.zhangbinhub.admin.log.base.BaseLogEntity
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

/**
 * @since JDK 11
 */
@Table("t_log_login_history")
@ApiModel("登录日志历史")
data class LoginLogHistory(
    @Id
    @ApiModelProperty(name = "ID")
    var id: String = "",
    @ApiModelProperty(name = "登录日期")
    var loginDate: String = CalendarTools.getDateTimeString(null, CalendarTools.DATE_FORMAT)
) : BaseLogEntity()